Create a small array and quickly assign values.
#include <Array.au3>
_ArrayCreate ( $v_Val1, [$v_Val2, [..., $v_Val21]] )
Parameters
$v_Val1 | The first element of the array. |
$v_Val2 | Optional: The second element of the array. |
. | 0 |
. | 0 |
. | 0 |
$v_Val21 | Optional: The twentyfirst element of the array. |
Return Value
The array with values.
Remarks
Arrays up to 21 elements are supported.
Related
None.
Example
#include <Array.au3>
Dim $avArray
$avArray = _ArrayCreate("JPM", "Holger", "Jon", "Larry", "Jeremy", "Valik", "Cyberslug", "Nutster", "Tylo", "JdeB")
_ArrayDisplay( $avArray, "Array created with _ArrayCreate" )
Exit